﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Order.Common
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class SubscribeAttribute : Attribute
    {
        /// <summary>
        /// 队列名称
        /// </summary>
        public string QueueName { get; set; }
        public SubscribeAttribute(string queueName)
        {
            this.QueueName = queueName;
        }
    }
}
